package com.sys.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @author: cxt
 * @time: 2022/7/21
 */
@Getter
@Setter
public class SysUserDTO {
    private Integer id;

    @NotEmpty(message = "名称不能为空")
    @ApiModelProperty("名称")
    private String name;

    @NotEmpty(message = "账号不能为空")
    @ApiModelProperty("账号")
    private String account;
}
